﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace HelenServer.Migrator;

[Table("zt_release")]
[Index("Product", Name = "product")]
public partial class ZtRelease
{
    [Key]
    [Column("id", TypeName = "mediumint(8) unsigned")]
    public uint Id { get; set; }

    [Column("product", TypeName = "mediumint(8) unsigned")]
    public uint Product { get; set; }

    [Column("name")]
    [StringLength(255)]
    public string Name { get; set; } = null!;

    [Column("date")]
    public DateOnly Date { get; set; }

    [Column("desc", TypeName = "text")]
    public string Desc { get; set; } = null!;

    [Column("status")]
    [StringLength(20)]
    public string Status { get; set; } = null!;

    [Column("deleted", TypeName = "enum('0','1')")]
    public string Deleted { get; set; } = null!;
}